package ch.repit.aglaja.server.contacts;

import ch.repit.rwt.server.persistence.BaseDataObject;
import java.util.ArrayList;
import java.util.List;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.Inheritance;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

/**
 *
 * @author tc149752
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
@Inheritance(customStrategy = "complete-table")
public class Address extends BaseDataObject {

    @Persistent
    private String header;

    @Persistent
    private Boolean displayNames;

    @Persistent
    private String privatePhone;

    @Persistent
    private String email;

    @Persistent
    private String addressLine;

    @Persistent
    private String zipCode;

    @Persistent
    private String locality;

    @Persistent
    private String country;

    @Persistent
    private Integer weddingDate;


    // constructor for creates
    public Address() { }

    
    public Boolean isDisplayNames() {
        return displayNames;
    }

    public void setDisplayNames(Boolean displayNames) {
        this.displayNames = displayNames;
    }
    

    public String getAddressLine() {
        return addressLine;
    }

    public void setAddressLine(String addressLine) {
        this.addressLine = addressLine;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getLocality() {
        return locality;
    }

    public void setLocality(String locality) {
        this.locality = locality;
    }

    public String getPrivatePhone() {
        return privatePhone;
    }

    public void setPrivatePhone(String privatePhone) {
        this.privatePhone = privatePhone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public Integer getWeddingDate() {
        return weddingDate;
    }

    public void setWeddingDate(Integer weddingDate) {
        this.weddingDate = weddingDate;
    }


}
